export default [{
        path: '*',
        redirect: '/home'
    },
    // 首页
    {
        path: '/home',
        name: 'Home',
        component: () =>
            import ('@/views/Home'),
    },
    // 商店
    {
        path: '/shop',
        name: 'Shop',
        component: () =>
            import ('@/views/Shop'),

    },
    // 社区
    {
        path: '/community',
        name: 'Community',
        component: () =>
            import ('@/views/Community'),
    },
    // 游戏详情
    {
        path: '/detail',
        name: 'Detail',
        component: () =>
            import ('@/views/Detail'),

    },
    // 资讯详情
    {
        path: '/newsdetail',
        name: 'NewsDetail',
        component: () =>
            import ('@/views/NewsDetail'),

    },
    // 帖子详情
    {
        path: '/postdetail',
        name: 'PostDetail',
        component: () =>
            import ('@/views/PostDetail'),

    },
    {
        path: '/login',
        name: 'Login',
        component: () =>
            import ('@/views/Login'),

    },
    {
        path: '/register',
        name: 'Register',
        component: () =>
            import ('@/views/Register'),

    },
    // 个人中心
    {
        path: '/center',
        name: 'Center',
        component: () =>
            import ('@/views/Center'),

    },

]